﻿namespace DongFangGuoKai.TaskPlatform.Job.InventoryReturn.Model
{
    public class InventoryReturnModel
    {
        public int Id { get; set; }
        /// <summary>
        /// 盘点结果
        /// </summary>
        public string? CheckResult { get; set; }
        /// <summary>
        /// 盘点Id
        /// </summary>
        public int? PlanId { get; set; }
        /// <summary>
        /// 监盘人id  
        /// </summary>
        public int? SupervisorId { get; set; }
        /// <summary>
        /// 提交人ID
        /// </summary>
        public int? UserId { get; set; }
        /// <summary>
        /// 盘点计划单号
        /// </summary>
        public string? PlanNumber { get; set; }
        /// <summary>
        /// 盘点计划物资明细
        /// </summary>
        public List<InventoryReturnDetailModel> Items { get; set; }
    }
    public class InventoryReturnDetailModel
    {

        /// <summary>
        /// 实际盘点数量
        /// </summary>
        public int? CheckAmount { get; set; }
        /// <summary>
        /// 期末结余数量
        /// </summary>
        public int? PeriodSurplus { get; set; }
        /// <summary>
        /// 盈亏数量
        /// </summary>
        public int? ProfitLostAmount { get; set; }
        /// <summary>
        /// 质量状态1.良好，2.损坏，3.报废
        /// </summary>
        public int? QualityStatus { get; set; }
        /// <summary>
        /// 库存明细id
        /// </summary>
        public int? StockId { get; set; }
    }
}
